//  this library.
/// 考试对应的最近考试时间数据
class LatestModel {
  String? createdTime;
  String? modifyTime;
  String? createdBy;
  String? modifyBy;
  String? id;
  String? examId;
  String? industryId;
  int? categoryId;
  String? examDate;
  String? registrationDate;
  String? checkScoreDate;
  String? industryName;
  String? categoryName;
  String? examName;
  String? modifyName;
  int? sinceDay;
  List<int>? categoryIds;
  dynamic qcountMap;

  LatestModel({
    this.createdTime,
    this.modifyTime,
    this.createdBy,
    this.modifyBy,
    this.id,
    this.examId,
    this.industryId,
    this.categoryId,
    this.examDate,
    this.registrationDate,
    this.checkScoreDate,
    this.industryName,
    this.categoryName,
    this.examName,
    this.modifyName,
    this.sinceDay,
    this.categoryIds,
    this.qcountMap,
  });

  LatestModel.fromJson(Map<String, dynamic> json) {
    createdTime = json['createdTime'];
    modifyTime = json['modifyTime'];
    createdBy = json['createdBy'];
    modifyBy = json['modifyBy'];
    id = json['id'];
    examId = json['examId'];
    industryId = json['industryId'];
    categoryId = json['categoryId'];
    examDate = json['examDate'];
    registrationDate = json['registrationDate'];
    checkScoreDate = json['checkScoreDate'];
    industryName = json['industryName'];
    categoryName = json['categoryName'];
    examName = json['examName'];
    modifyName = json['modifyName'];
    sinceDay = json['sinceDay'];
    if (json['categoryIds'] != null) {
      categoryIds = json['categoryIds'].cast<int>();
    }
    qcountMap = json['qcountMap'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['createdTime'] = createdTime;
    data['modifyTime'] = modifyTime;
    data['createdBy'] = createdBy;
    data['modifyBy'] = modifyBy;
    data['id'] = id;
    data['examId'] = examId;
    data['industryId'] = industryId;
    data['categoryId'] = categoryId;
    data['examDate'] = examDate;
    data['registrationDate'] = registrationDate;
    data['checkScoreDate'] = checkScoreDate;
    data['industryName'] = industryName;
    data['categoryName'] = categoryName;
    data['examName'] = examName;
    data['modifyName'] = modifyName;
    data['sinceDay'] = sinceDay;
    data['categoryIds'] = categoryIds;
    if (qcountMap != null) {
      data['qcountMap'] = qcountMap;
    }
    return data;
  }
}
